﻿@model BrnMall.Web.MallAdmin.Models.FilterWordModel

@section header{
    <title>添加筛选词</title>
    <link type="text/css" rel="stylesheet" href="/admin_mall/content/css/site.css"/>
    <script type="text/javascript" src="/admin_mall/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_mall/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/admin_mall/scripts/jquery.validate.unobtrusive.js"></script>
}

@section body{
<h1 class="rightH1">
筛选词 &gt;&gt; 添加
<div class="right">
<a href="@Html.Raw(ViewData["referer"].ToString())" class="menuBT"><img src="/admin_mall/content/images/goback.jpg"/>返回列表</a>
<div class="clear"></div>
</div>
<div class="clear"></div>
</h1>

@using (Html.BeginForm())
{
<div class="addTable">
<table width="100%">
    <tr>
        <td width="66px" align="right">匹配词：</td>
        <td>@Html.TextBoxFor(x => x.Match, new { @class = "input", size = "40" })@Html.ValidationMessageFor(x => x.Match)</td>
    </tr>

    <tr>
        <td align="right">替换词：</td>
        <td>@Html.TextBoxFor(x => x.Replace, new { @class = "input", size = "40" })@Html.ValidationMessageFor(x => x.Replace)</td>
    </tr>

  <tr>
    <td align="right">&nbsp;</td>
    <td>
    <a href="" class="addBt" id="sumbitBut" ><img src="/admin_mall/content/images/submit.jpg" /></a>
            <script type="text/javascript">
                $(function () {
                    $("#sumbitBut").click(function () {
                        $("form:first").submit();
                        return false;
                    })
                });
        </script>
    </td>
    </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
</table>
</div>
}
}